package com.cdyx.outsideprescription.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.cdyx.outsideprescription.dto.EpcListDto;
import com.cdyx.outsideprescription.entity.TbEpclist;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author jiang dongqiong
 * @since 2021-12-27
 */
public interface TbEpclistMapper extends BaseMapper<TbEpclist> {



    void insertEpcList(@Param("epcList") List<Map<String,String>> epcList, @Param("ownEpcId") long l);

    List<EpcListDto> selectEpcList(@Param("epcList")List<Map<String, Object>> epcList);

    void updateInfo( @Param("epc_id") String epc_id,
                    @Param("expContent") String expContent,
                    @Param("id") Long id);

    void updateList(@Param("epcList") List<Map<String, Object>> epcList, @Param("epc_id") String epc_id,@Param("id") long id);

    long selectId(String epc_id);
}
